#pragma once

#include "ReadO.h"
#include "ReadN.h"
#include "TimeSys.h"
#include "GNSSatPos.h"
#include "CoordSys.h"
#include "IonosphereDelay.h"
#include "TroposphereDelay.h"
#include "Matrix.h"
#include <iostream>
#include <vector>

class SPP {
public:
	SPP(ReadO& readO, ReadN& readN, TimeSys& timeSys, GNSSconsts& gnssConsts);
	XYZ calculatePosition(double ionoCorrection, double tropCorrection);

private:
    ReadO& readO;
    ReadN& readN;
    TimeSys& timeSys;
    GNSSconsts& gnssConsts;
};